package com.vgmobile.cucrever2.global;

import android.support.v4.app.FragmentManager;

public class BaseBackPressedListener implements OnBackPressedListener {

	private FragmentManager fragmentManager;
	
	public BaseBackPressedListener(FragmentManager fragmentManager) {
        this.fragmentManager = fragmentManager;
    }
	
	@Override
	public void doBack() {
		fragmentManager.popBackStack();
	}

}
